struct FApoint
{
	FApoint();

	FApoint(double X, double Y);

	void SetXY(double X, double Y);
	void SetX(double X);
	void SetY(double Y);

	double X();
	double Y();

private:
	double x;
	double y;
};

struct FArectangle
{
	FArectangle();
	FArectangle(FApoint XY_00, FApoint XY_11);
	FArectangle(double X0, double Y0, double X1, double Y1);

	void SetRectangle(FApoint XY_00, FApoint XY_11);
	void SetRectangle(double X0, double Y0, double X1, double Y1);

	FApoint GetXY_00();
	FApoint GetXY_11();

private:
	FApoint X0Y0;
	FApoint X1Y1;
};